package com.pktechan.api.entity;

import com.pktechan.api.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program  
 * @Description  
 * @Author  qx.zhang
 * @create 2021-03-05 11:03 
 */

public class CommissionGenerateFlow extends BaseEntity {


	/**
	 * 佣金流水ID
	 */
   
	private Integer id;

	/**
	 * 佣金客户ID
	 */
	private Integer custId;

	/**
	 * 订单ID
	 */
	private Integer tradeOrderId;

	/**
	 * 订单详情ID
	 */
	private Integer tradeOrderDetailId;

	/**
	 * 产品ID
	 */
	private Integer productId;

	/**
	 * 产品单价
	 */
	private BigDecimal price;

	/**
	 * 客户支付费用
	 */
	private BigDecimal payAmt;

	/**
	 * 订单支付方式 1-现金支付 2-云积分支付
	 */
	private Integer payType;

	/**
	 * 业务种类 10-游客购买 11-vip复购 12-配送商复购  21-注册VIP 22-注册配送商
	 */
	private Integer businessType;

	/**
	 * 佣金渠道代数
	 */
	private Integer commissionGeneration;

	/**
	 * 单品佣金
	 */
	private BigDecimal feePer;

	/**
	 * 本项佣金
	 */
	private BigDecimal feeTotal;
	/**
	 * 变前佣金
	 */
	private BigDecimal balancePre;

	/**
	 * 变后佣金
	 */
	private BigDecimal balanceAfter;

	/**
	 * 佣金状态 -1-无效佣金 0-待审核 1-有效佣金
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	private Date createTime;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCustId() {
		return this.custId;
	}

	public void setCustId(Integer custId) {
		this.custId = custId;
	}

	public Integer getTradeOrderId() {
		return this.tradeOrderId;
	}

	public void setTradeOrderId(Integer tradeOrderId) {
		this.tradeOrderId = tradeOrderId;
	}

	public Integer getTradeOrderDetailId() {
		return this.tradeOrderDetailId;
	}

	public void setTradeOrderDetailId(Integer tradeOrderDetailId) {
		this.tradeOrderDetailId = tradeOrderDetailId;
	}

	public Integer getProductId() {
		return this.productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getPayAmt() {
		return payAmt;
	}

	public void setPayAmt(BigDecimal payAmt) {
		this.payAmt = payAmt;
	}

	public Integer getPayType() {
		return this.payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public Integer getBusinessType() {
		return businessType;
	}

	public void setBusinessType(Integer businessType) {
		this.businessType = businessType;
	}

	public Integer getCommissionGeneration() {
		return commissionGeneration;
	}

	public void setCommissionGeneration(Integer commissionGeneration) {
		this.commissionGeneration = commissionGeneration;
	}

	public BigDecimal getFeePer() {
		return feePer;
	}

	public void setFeePer(BigDecimal feePer) {
		this.feePer = feePer;
	}

	public BigDecimal getFeeTotal() {
		return feeTotal;
	}

	public void setFeeTotal(BigDecimal feeTotal) {
		this.feeTotal = feeTotal;
	}

	public BigDecimal getBalancePre() {
		return balancePre;
	}

	public void setBalancePre(BigDecimal balancePre) {
		this.balancePre = balancePre;
	}

	public BigDecimal getBalanceAfter() {
		return balanceAfter;
	}

	public void setBalanceAfter(BigDecimal balanceAfter) {
		this.balanceAfter = balanceAfter;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
